package com.fanqiechaodan.facade;

/**
 * @author fanqiechaodan
 * @Classname Demo
 * @Description 门面模式
 */
public class Demo {

    public static void main(String[] args) {
        OnlineShoppingFacade onlineShoppingFaced = new OnlineShoppingFacade(new InventoryManagement(),
                new OrderManagement(),
                new PaymentManagement());
        onlineShoppingFaced.placeOrder("123",3,"Wechat");

    }
}
